package com.xjt.wx_admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xjt.wx_admin.entity.UserLatelyMsg;
import com.xjt.wx_admin.entity.dto.SendMsg;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Xujt
 * @since 2023-03-22 11:33:28
 */
public interface UserLatelyMsgService extends IService<UserLatelyMsg> {

    /**
     * 查询最近的好友消息
     *
     * @return {@link List}<{@link UserLatelyMsg}>
     */
    List<UserLatelyMsg> queryLatelyMsg();


    void updateSessionMsg(SendMsg sendMsg);
}
